<% provide(:title, t('admin.category.index.title')) %>
<h1><%= t('admin.category.index.title') %></h1>

<%= will_paginate %>

<ul class="categories">
	<% if @categories.each do |category| %>
		<%= render category %>
	<% end.empty? %>
		<%= t('content.list.no_elements', elements: t('activerecord.models.category', count: 2)) %>
	<% end %>
</ul>

<%= will_paginate %>